package hos.http;

/**
 * <p>Title: HttpInterceptor </p>
 * <p>Description:  </p>
 * <p>Company: www.mapuni.com </p>
 *
 * @author : 蔡俊峰
 * @version : 1.0
 * @date : 2023-02-23 16:45
 */
public interface HttpInterceptor {
    interface RequestInterceptor {
        void intercept(HttpBaseRequest<?> request);
    }

    interface ResponseInterceptor {
        <T> void intercept(T request);
    }

    interface ExceptionInterceptor {
         void intercept(Throwable throwable);
    }
}
